<template>
	<view class="page">
		<u-navbar title="动态详情" :auto-back="true">
			<view class="u-nav-slot" slot="right">
				<view class="nav-right">
					<u-icon name="search" size="24" color="#376CB4"></u-icon>
					<u-icon name="list" size="24" style="margin-left: 20rpx;" color="#376CB4"></u-icon>
				</view>
			</view>
		</u-navbar>
		<view class="ll"></view>

		<view class="detail-title">常规生化检验项目对慢性乙型肝炎的临床应用研究</view>
		<view class="detail-author font-24">发布时间：2020-01-19 浏览次数：323次</view>
		<!-- <view class="detail-nums font-24">
			浏览次数：86次 下载次数：304次
		</view> -->
		<view class="detail-content">
			<u-parse :content="content" :domain="BaseImgUrl" :tagStyle="style"></u-parse>
		</view> 

	</view>
</template>

<script>
	import Footer from '@/components/Footer.vue'
	import {
		api,
		BaseImgUrl,
		http
	} from '@/config/common.js'
	export default {
		data() {
			return {
				BaseImgUrl:BaseImgUrl,
				scrollTop: 0,
				style: {
					// 字符串的形式
					p: 'color: #333333;line-height: 42rpx;font-weight: 400;font-family: PingFang SC;font-size: 28rpx;',
					span: 'color: #333333;line-height: 42rpx;font-weight: 400;font-family: PingFang SC;font-size: 28rpx;'
				},
				content: ''
			}
		},
		components: {
			Footer
		},
		filters: {},
		mounted() {},
		onLoad(e) {},
		onShow() {},
		beforeDestroy() {},
		onPageScroll(e) {},
		methods: {

		}
	};
</script>

<style scoped>
	.detail-content{
		width: 690rpx;
		margin: 0 auto;
		margin-top: 30rpx;
	}
	.detail-nums{
		width: 690rpx;
		margin: 0 auto;
		text-align: center;
		margin-top: 40rpx;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: #999999;
	}
	.detail-author {
		width: 690rpx;
		margin: 0 auto;
		text-align: center;
		margin-top: 20rpx;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: #999999;
	}

	.detail-title {
		width: 690rpx;
		margin: 0 auto;
		text-align: center;
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #333333;
		margin-top: 30rpx;
	}

	.ll {
		height: 100rpx;
	}

	::v-deep .u-navbar__content {
		width: 750rpx;
		height: 88rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 2rpx 14rpx 0rpx rgba(4, 0, 0, 0.14);
	}

	.nav-right {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.logo {
		width: 306rpx !important;
		height: 55rpx !important;
	}

	page {
		background-color: #fff;
	}
</style>